<!-- Darija Dasic 97/08-->
<!-- Sofija Puric 6/08 -->

<!DOCTYPE HTML PUBLIC"-// W3C//DTD HTML 4.01 Transitional//EN">
<html>
    <head>
        <title>
			Rezervacija hostela u Beogradu
        </title>
        <link rel="stylesheet" type="text/css" href="css/default.css" media="all"/>
        <link rel="stylesheet" type="ttext/css" href="css/star-style.css" />
        <!--<script src="http://code.jquery.com/jquery-latest.js"></script> -->
        <script src="jscript/jquery-latest.js"></script>
        <!-- <script src="scripts/stars.js"></script> -->
        <script src="jscript/stars_fb.js"></script>

    </head>


    <body>
        <div id="all">
            <div id="header">
                <?php require 'pages/con_header.php'; ?>
            </div>
            <div id="slider">
            </div>
            <div id="search">
                <?php require 'pages/con_search.php'; ?>
            </div>





            <div id="wrapper">
                <div id="content">	<!-- Ovo treba realizovati u PHP -->

                    <?php
                    if (isset($_GET['err'])) {
                        $err = $_GET['err'];
                        echo '
                    <div id="error">';
                        switch ($err) {
                            case 1: echo '<p>You have not filled out the field keyword correctly. Please go back and try again.</p>';
                                break;
                            case 2: echo '<p>You have not filled out the field price from correctly. Please go back and try again.</p>';
                                break;
                            case 3: echo '<p>You have not filled out the field price to correctly. Please go back and try again.</p>';
                                break;
                            case 4: echo '<p>The field price to you have filled out is smaller then the field price from. Please go back and try again.</p>';
                                break;
                            case 5: echo '<p>You have not filled out any fields. Please go back and try again.</p>';
                                break;
                            case 6: echo '<p>You have to log in or sign up first. Please go back and try again.</p>';
                                break;
                            case 7: echo '<p>You have not filled out all fields. Please go back and try again.</p>';
                                break;
                            case 8: echo '<p>You have not filled out the field Bed number correctly. Please go back and try again.</p>';
                                break;
                            case 9: echo '<p>You have not filled out the field Date from correctly. Please go back and try again.</p>';
                                break;
                            case 10: echo '<p>You have not filled out the field Date to correctly. Please go back and try again.</p>';
                                break;
                            case 11: echo '<p>The field Date to you have filled out is before then the field Date from. Please go back and try again.</p>';
                                break;
                            case 12: echo '<p>The field Date from you have filled out is before then today. Please go back and try again.</p>';
                                break;
                            case 13: echo '<p>You have already filled out the feedback for this hostel.</p>';
                                break;
                        }
                        echo'</div>';
                    }
                    ?>


<?php require 'pages/con_hostels.php'; ?>

                </div>
            </div>

            <div id="banners">
<?php require 'pages/con_baners.php'; ?>
            </div>

<?php require 'pages/con_footer.php'; ?>

        </div>
    </body>
</html>
